import {BrowserModule} from '@angular/platform-browser';
import {NgModule} from '@angular/core';
import {FormsModule} from '@angular/forms';
import {HttpModule} from '@angular/http';

import {AppComponent} from './app.component';
import {AppRoutingModule} from './app-routing.module';
import {ApiService} from './services/api.service';
import {UserService} from './services/user.service';
import {LoginComponent} from './modules/user/components/login.component';
import {WelcomeComponent} from './modules/user/components/welcome.component';


@NgModule({
    declarations: [
        AppComponent,
        LoginComponent,
        WelcomeComponent
    ],
    imports: [
        BrowserModule,
        FormsModule,
        AppRoutingModule,
        HttpModule
    ],
    providers: [ ApiService , UserService ],
    bootstrap: [AppComponent]
})
export class AppModule {
}
